package com.tao.taoaicodemother.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName: AuthCheck
 * Package: com.tao.taoaicodemother.annotation
 * Description:
 *
 * @Author zt
 * @Create 2025/9/28 16:12
 * @Version 1.0
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

public @interface AuthCheck {
    /**
     * 必须有某个角色
     */
    String mustRole() default "";
}
